package com.lucian.ge.dao.shop;

import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by Lucicol on 2019/7/12.
 */
public interface OrderMapper {
    void create(@Param("userId") Integer userId,
                @Param("shippingWx") String shippingWx,
                @Param("orderNo") long orderNo,
                @Param("payment") BigDecimal payment,
                @Param("remark") String remark);
    List<Map<String, String>> selectList(@Param("userId") Integer userId, @Param("status") Integer status);
    Map<String, String> selectDetail(@Param("orderNo") long orderNo);
    void changeOrderStatus(@Param("userId") Integer userId,
                @Param("orderNo") String orderNo,
                @Param("status") String status);
    void addShareId(@Param("userId") Integer userId,
                @Param("orderNo") String orderNo,
                @Param("shareId") String shareId);
}
